#ifndef ANNOUNCEMENT_H
#define ANNOUNCEMENT_H

#include <QWidget>

namespace Ui {
class announcement;
}

class announcement : public QWidget
{
    Q_OBJECT

public:
    explicit announcement(QWidget *parent = nullptr);
    ~announcement();

private slots:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);

    void on_pushButton_clicked();

    void on_pushButton_9_clicked();

    void on_pushButton_8_clicked();

    void on_pushButton_7_clicked();

    void on_pushButton_11_clicked();

    void on_pushButton_14_clicked();

    void on_pushButton_12_clicked();

    void on_pushButton_13_clicked();

    void on_pushButton_15_clicked();

private:
    Ui::announcement *ui;

private:
    QPoint initialMousePosition;
    bool isDragging = false;
};

#endif // ANNOUNCEMENT_H
